package com.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.entity.Major;
import com.edu.vo.Result;

import java.util.List;

/**
 * @InterfaceName MajorService
 * @Description
 * @Author W.Jian
 * @Date 2021/5/22 17:49
 **/
public interface MajorService extends IService<Major> {
    /*List<Major> listBySchoolId(Long schoolId);*/
/*    Result insert(MajorRefSubject majorRefSubject);*/
    Result saveMajor(Major major);

    Result queryBySchoolId(Integer schoolId);

    Result updateDelFlag(Long majorId);
}
